<script setup>
import { CheckCircleRound } from "@vicons/material";

// 自定义的事件名称
const emits = defineEmits("changeWindow");
</script>

<template>
    <n-card>
        <n-space
            vertical
            align="center"
        >
            <!-- logo -->
            <n-icon
                :size="140"
                color="rgb(35, 150, 35)"
                :component="CheckCircleRound"
            ></n-icon>

            <h3 style="margin: 0;">欢迎加入东石油教学</h3>

            <n-text>
                请前往注册的邮箱，查看账号信息，
                <n-button
                    text
                    type="info"
                    @click="emits('changeWindow', 1)"
                >
                    可点击此处前往登录
                </n-button>
            </n-text>
        </n-space>
    </n-card>
</template>